import java.util.Scanner;

//输入两个数，计算他们加减乘除取余的结果。
public class homework5 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a=sc.nextInt();
        int b=sc.nextInt();
        System.out.println("加法：" + (a+b));
        System.out.println("减法：" + (a-b));
        System.out.println("乘法：" + (a*b));
        System.out.println("除法：" + (a/b));
        System.out.println("取余：" + (a%b));
    }
}
